<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout::head('首页')">
    <style th:inline="text">
        body{
            background: url("[[@{/}]]img/2.jpg");
        }
    </style>
    <meta charset="UTF-8"/>
    <title>图书类别</title>

</head >
<body class="container">
<div th:replace="~{layout::header}"></div>
<div class="container" style="margin-left:400px">
<br/>
<h1>修改类别信息</h1>

<form  th:action="@{/category/edit}" method="post">


    <label>类别id:</label>     <input type="text"   readonly="readonly"  name="id" th:value="${category.getId()}"></br>
    <label> 类别名称: </label>      <input type="text" name="name" th:value="${category.getName()}" ></br>


    <input type="submit" value="提交" />
    <a th:href="@{/category/list}" >返回</a>

</form>


</div>
</body>
</html>